void UI_SelectionWidget::init() {
    lEntities->setText("0");
    
    int fsize;
#ifdef __APPLE__
    fsize = 9;
#else
    fsize = 7;
#endif
    
    PF_SETTINGS->beginGroup("/Appearance");
    fsize = PF_SETTINGS->readNumEntry("/StatusBarFontSize", fsize);
    PF_SETTINGS->endGroup();
    
    lEntities->setFont(QFont("Helvetica", fsize));
    lLabel->setFont(QFont("Helvetica", fsize));
}

void UI_SelectionWidget::setNumber(int n) {
    QString str;
    str.setNum(n);
    lEntities->setText(str);
}
